/*移动页设置*/
import request from '@/utils/request';

// 新增移动页配置
export async function saveMobileConfig (data) {
  const res = await request.post('/business/mobilePageConfiguration/save', data)
  if (res.data.code === 2000) {
    return res.data;
  }
  return Promise.reject(new Error(res.data.msg));
}

// 查询配置
export async function queryMobileConfig (data) {
  const res = await request.post('/business/mobilePageConfiguration/page', data)
  if (res.data.code === 2000) {
    return res.data;
  }
  return Promise.reject(new Error(res.data.msg));
}
